home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / What's New? / Development Kits / Mac OS / USB DDK 1.4.6f4 / Examples / CompositeClassDriver / CompositeHIDClassDriver.make < prev    next >
Encoding:
Text File  |  2000-09-25  |  2.8 KB  |  89 lines  |  [TEXT/MPS ]

  1. #
  2. #    File:        CompositeHIDClassDriver.make
  3. #
  4. #    Contains:    xxx put contents here xxx
  5. #
  6. #    Version:    xxx put version here xxx
  7. #
  8. #    Copyright:    © 1999 by Apple Computer, Inc., all rights reserved.
  9. #
  10. ### Cloned from CompositeClassDriver_SSW.make, rev 4.
  11. ### does not build on its own, must have CompositeClassDriver_SSW.make also
  12.  
  13. USB_CHD_Dir            =    {USBDrivers}CompositeClassDriver:
  14. USB_CHD_MakeFile    =    {USB_CHD_Dir}CompositeHIDClassDriver.make
  15.  
  16. USB_CHD_Includes    =    -i {USBInterfacesInternal}    ∂
  17.                         -i {USBInterfacesExternal}    ∂
  18.                         -i {USB_CHD_Dir}
  19.  
  20. USBCHD_Sym            =    -sym on
  21.  
  22. CHD_COptions         =    {USB_CHD_Includes}
  23.  
  24. CHD_Objects            =    {USBObjects}CompositeClassDriver.c.o        ∂
  25.                         {USBObjects}CompositeHIDDriverDescr.c.o    ∂
  26.                         {USBObjects}ConfigParse.c.o
  27.  
  28. CHD_LibsToLinkWith    =    {StubLibraries}InterfaceLib                ∂
  29.                         {StubLibraries}NameRegistryLib            ∂
  30.                         {StubLibraries}DriverLoaderLib            ∂
  31.                         {StubLibraries}DriverServicesLib         ∂
  32.                         {StubLibraries}PCILib                    ∂
  33.                         {StubLibraries}USBServicesLib            ∂
  34.                         {PPCLibraries}PPCCRuntime.o
  35.  
  36.  
  37. # ••••••••••••••••••••••••••••• #
  38. #        Main build target        #
  39. # ••••••••••••••••••••••••••••• #
  40.  
  41. CHD_Target    = {USBTargets}Drivers:USBCompositeHIDDriver
  42.         
  43. {CHD_Target}    ƒƒ    {USB_CHD_MakeFile}  {USB_CHD_MakeFile}        ∂
  44.                     {CHD_Objects}  {CHD_LibsToLinkWith}    ∂
  45.                     {USBInterfacesInternal}USBClassDriver.exp
  46.     Delete -i {Targ}.xcoff
  47.     Delete -i {Targ}.dbg
  48.     PPCLink    -o {Targ}  -xm sharedlibrary  -t 'ndrv'  -c 'usbd'    ∂
  49.             -map {USBMapDir}USBCompositeHIDDriver.map            ∂
  50.             {CHD_Objects}                                         ∂
  51.             {CHD_LibsToLinkWith}                                ∂
  52.             -@export {USBInterfacesInternal}USBClassDriver.exp    ∂
  53.             -share context  -w  {CHD_Sym}
  54.         
  55. {CHD_Target}    ƒƒ    {USBInterfacesInternal}USBClassDriverIcons.r    ∂
  56.                     {USB_CHD_MakeFile}
  57.     Rez    -a  -o {Targ}  -t 'ndrv'  -c 'usbd'                ∂
  58.         -i {USBInterfacesInternal}                        ∂
  59.         -i {RIncludes}                                    ∂
  60.         {RIncludes}Types.r                                ∂
  61.         {USBInterfacesInternal}USBClassDriverIcons.r
  62.     setfile -a B {CHD_Target}
  63.         
  64. {CHD_Target}    ƒƒ    {USBInterfacesInternal}PackageVersion.h        ∂
  65.                     {USB_CHD_Dir}CompositeClassVersion.h        ∂
  66.                     {USB_CHD_Dir}CompositeClassDriver.r            ∂
  67.                     {USB_CHD_MakeFile}
  68.     Rez    -a  -o {Targ}  -t 'ndrv'  -c 'usbd'    ∂
  69.         -i {USBInterfacesInternal}            ∂
  70.         -i {RIncludes}                        ∂
  71.         {RIncludes}Types.r                    ∂
  72.         {USB_CHD_Dir}CompositeClassDriver.r
  73.         
  74.  
  75. # ••••••••••••••••••••••••• #
  76. #        Partz Is Partz        #
  77. # ••••••••••••••••••••••••• #
  78.  
  79. {USBObjects}CompositeHIDDriverDescr.c.o    ƒ    {USB_CHD_Dir}CompositeHIDDriverDescription.c    ∂
  80.                                                 {USBInterfacesExternal}USB.h                ∂
  81.                                                 {USBInterfacesInternal}PackageVersion.h        ∂
  82.                                                 {USB_CHD_Dir}CompositeClassVersion.h        ∂
  83.                                                 {USB_CHD_Dir}CompositeClassDriver.h
  84.     {USB_C_Compiler} -o {Targ} {StdMrCOpts} {CHD_COptions} {USB_CHD_Dir}CompositeHIDDriverDescription.c
  85.  
  86. Clean_USB ƒƒ
  87.     Delete -i {CHD_Objects}
  88.     Delete -i {CHD_Target} 
  89.